<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="renderer" content="webkit">
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<title>高级管理员</title>
		<meta name="keywords" content="">
		<meta name="description" content="">
		<!--[if lt IE 9]>
    	<meta http-equiv="refresh" content="0;ie.html" />
    	<![endif]-->
		<link rel="shortcut icon" href="favicon.ico">
		<link href="__CSS__/bootstrap.min.css" rel="stylesheet">
		<link href="__CSS__/font-awesome.min.css" rel="stylesheet">
		<link href="__CSS__/animate.min.css" rel="stylesheet">
		<link href="__CSS__/style.min.css" rel="stylesheet">
		<link href="__CSS__/admin.css" rel="stylesheet">{block name="style"}{/block}
	</head>
	<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
		<div id="wrapper">
			<!--左侧导航开始-->
			<nav class="navbar-default navbar-static-side" role="navigation">
				<div class="nav-close"><i class="fa fa-times-circle"></i>
				</div>
				<div class="sidebar-collapse">
					<ul class="nav" id="side-menu">
						<li class="nav-header" style="height: 60px;padding: 0; text-align: center;line-height: 60px; color: #FFFFFF; font-size: 20px; ">
                               <strong>{:session('admin_name')}</strong>
						</li>
						{if !empty($menu)} {foreach name="menu" item="vo"}
						<li class="menu">
							<a href="{$vo.name}">
								<i class="{$vo.icon}"></i>
								<span class="nav-label">{$vo.title} </span>
								<span class="fa arrow"></span>
							</a>
							<ul class="nav nav-second-level">
								{if !empty($vo['children'])} {foreach name="$vo['children']" item="v"}
								<li>
									<a href="{:url($v.name)}">{$v.title}</a>
								</li>
								{/foreach} {/if}
							</ul>
						</li>
						{/foreach} {/if}
					</ul>
				</div>
			</nav>
			<!--左侧导航结束-->
			<!--右侧部分开始-->
			<div id="page-wrapper" class="gray-bg dashbard-1">
				<div class="row border-bottom">
					<nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
						<div class="navbar-header">
							<a class="navbar-minimalize minimalize-styl-2 btn btn-primary" href="#">
								<i class="fa fa-bars"></i>
							</a>
						</div>
						<ul class="nav navbar-top-links navbar-left">
							<li class="hidden-xs" id='shouye'>
							<a href="{:url('admin/index/index')}">
								&nbsp;&nbsp;<i class="fa fa-home"></i>首页&nbsp;&nbsp;
							</a>
							</li>

						</ul>
						<ul class="nav navbar-top-links navbar-right">
							<li class="hidden-xs">
								<a href="{:url('system/clear')}">
									<i class="fa fa-refresh"></i>清除缓存
								</a>
							</li>
							<li class="hidden-xs">
								<a href="{:url('login/logout')}"><i class="fa fa-sign-out"></i>退出系统</a>
							</li>
						</ul>
					</nav>
				</div>
				<div class="row">
					{block name="body"}{/block}
				</div>
			</div>
			<!--右侧部分结束-->
		</div>
		<div class="footer">
			<div class="pull-right"> 版权所有CMS Project &copy; 2017-2020 版权所有</div>
		</div>
		<script src="__JS__/jquery.min.js"></script>
		<script src="__JS__/bootstrap.min.js"></script>
		<script src="__JS__/jquery.metisMenu.js"></script>
		<script src="__JS__/jquery.slimscroll.min.js"></script>
		<script src="__LIB__/layer/layer.js"></script>
		<script src="__JS__/core.min.js"></script>
		<script src="__JS__/pace.min.js"></script>
		<script src="__JS__/help.js"></script>
		<script>
			// 文件上传URL
			var __UPLOAD_URL__ = "{:url('admin/upload/index')}";
			var __CURRENT_URL__ = "{$current_url}";
		</script>
		<script src="__JS__/admin.js"></script>
		<script>
			var show="{$is_show_left}";
			if(show==0){
				$("body").toggleClass("mini-navbar"), SmoothlyMenu();
			}
		</script>
		{block name="script"}{/block}
	</body>

</html>